﻿using System;
namespace Gift.Model
{
    /// <summary>
    /// tbGroupBuy:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tbGroupBuy
    {
        public tbGroupBuy()
        { }
        #region Model
        private int _id;
        private int _groupbuycategory;
        private string _groupbuyname;
        private string _groupbuysummarized;
        private decimal _costprice;
        private decimal _originalprice;
        private decimal _presentprice;
        private int _inventory;
        private int _groupbuynumber;
        private bool _isshelves;
        private string _pictures;
        private DateTime _starttime;
        private DateTime _endtime;
        private bool _isfromfreight;
        private int _freighttemplate;
        private bool _is7dayrefund;
        private bool _isexpiredrefund;
        private string _remark;
        private int _sortorder = 0;
        private string _keywords;
        private string _description;
        private int _creator;
        private DateTime _createtime = DateTime.Now;
        private DateTime _modifytime = DateTime.Now;

        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int groupBuyCategory
        {
            set { _groupbuycategory = value; }
            get { return _groupbuycategory; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string groupBuyName
        {
            set { _groupbuyname = value; }
            get { return _groupbuyname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string groupBuySummarized
        {
            set { _groupbuysummarized = value; }
            get { return _groupbuysummarized; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal costPrice
        {
            set { _costprice = value; }
            get { return _costprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal originalPrice
        {
            set { _originalprice = value; }
            get { return _originalprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal presentPrice
        {
            set { _presentprice = value; }
            get { return _presentprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int inventory
        {
            set { _inventory = value; }
            get { return _inventory; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int groupBuyNumber
        {
            set { _groupbuynumber = value; }
            get { return _groupbuynumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isShelves
        {
            set { _isshelves = value; }
            get { return _isshelves; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string pictures
        {
            set { _pictures = value; }
            get { return _pictures; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime startTime
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime endTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isFromFreight
        {
            set { _isfromfreight = value; }
            get { return _isfromfreight; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int freightTemplate
        {
            set { _freighttemplate = value; }
            get { return _freighttemplate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool is7DayRefund
        {
            set { _is7dayrefund = value; }
            get { return _is7dayrefund; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isExpiredRefund
        {
            set { _isexpiredrefund = value; }
            get { return _isexpiredrefund; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int sortOrder
        {
            set { _sortorder = value; }
            get { return _sortorder; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string keywords
        {
            set { _keywords = value; }
            get { return _keywords; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int creator
        {
            set { _creator = value; }
            get { return _creator; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime createTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime modifyTime
        {
            set { _modifytime = value; }
            get { return _modifytime; }
        }
     
        #endregion Model

    }
}

